package edu.whut.mall.admin.enums;

/**
 * @ClassName UserRoleEnum
 * @Description 用户角色id枚举类
 * @Author lvfanbing
 * @Date 2020-10-29 16:33
 * @Version 1.0
 */
public enum UserRoleEnum {
    PLATFORM_ADMIN(1L, "平台管理员"),
    MERCHANT_ADMIN(2L, "商家管理员");
    private Long code;
    private String desc;

    UserRoleEnum(Long code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public Long getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
